#Log path:/home/pi/.cache/lxsession/LXDE-pi/run.log
mkdir -p ~/.config/autostart
cp ../conf/gui.desktop ~/.config/autostart/
cp ./env.sh ~/
cp ./start.sh ~/
sudo cp ./autostart /etc/xdg/lxsession/LXDE-pi/autostart 
sudo cp ../conf/filebrowser.service  /etc/systemd/system/
sudo cp ../conf/mongodb.service  /etc/systemd/system/
sudo cp ../conf/novnc.service  /etc/systemd/system/
sudo systemctl enable --now filebrowser.service
sudo systemctl enable --now mongodb.service
sudo systemctl enable --now novnc.service
#chmod +x ~/start.sh
#cp ./conf/nodejs.sh ~/
